package org.jeecg.modules.demo.com.kunpeng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.com.kunpeng.entity.SupplierClassification;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: 供应商分类表
 * @Author: jeecg-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
@Transactional
public interface ISupplierClassificationService extends IService<SupplierClassification> {

    /**
     * 新增
     * @param supplierClassification
     */
    void insert(SupplierClassification supplierClassification);

    /**
     * 供应商分类列表
     * @return
     */
    List<String> supplierClassificationList();

    /**
     * 模糊查询
     */
    Page<SupplierClassification> queryListByClass(Page<SupplierClassification> page,String keyWords);
}
